package com.itheima.service.db;

import com.itheima.domain.PmsProductAttribute;
import com.itheima.vo.PageBeanVo;

import java.util.List;

public interface PmsProductAttributeService {

    List<PmsProductAttribute> findByCategoryId(Long id);

    PageBeanVo findAttributeByPage(Integer cid, Integer pageNum, Integer pageSize, String type);

    PmsProductAttribute findById(Long attributeId);

    Boolean addAttribute(PmsProductAttribute productAttributeParam);

    void deleteByIds(List<Long> ids);

    Boolean updateById(Long id, PmsProductAttribute productAttributeParam);
}
